home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000266_fdc@columbia.edu_Thu Apr 29 12:24:06 2004.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  46 lines

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Strange error happens when building G-Kermit on a Slackware 9.1 box
  5. Date: 29 Apr 2004 16:21:40 GMT
  6. Organization: Columbia University
  7. Lines: 29
  8. Message-ID: <slrnc92ask.4nt.fdc@sesame.cc.columbia.edu>
  9. References: <o30kc.62819$um3.1202849@bgtnsc04-news.ops.worldnet.att.net>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1083255700 21467 128.59.59.56 (29 Apr 2004 16:21:40 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 29 Apr 2004 16:21:40 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14985
  17.  
  18. On 2004-04-29, Gregg C Levine <drwho8@att.net> wrote:
  19.  
  20. : The strangest error turns up when building G-Kermit on a Slackware 9.1
  21. : box. (Both this one, when running Linux, and my other one.) I've even seen
  22. : it happen on a Slackware 8.0 laptop. Anyway I made a script of the error
  23. : message and I am posting it here:
  24. : ...
  25. : undefined reference to `errno'
  26. : ...
  27. :
  28. Evidently it is newly necessary to replace:
  29.  
  30.   extern int errno;
  31.  
  32. with:
  33.  
  34.   #include <errno.h>
  35.  
  36. in gkermit.c, but of course only in cases where the undefined reference
  37. happens.  This is apparently part of the trend to convert errno from an
  38. ordinary scalar variable to some kind of a per-thread object.
  39.  
  40. Let's hear it for stability.  G-Kermit was supposed to be a simple,
  41. straightforward, single-thread program, that would last forever,
  42. It looks like forever was four years.
  43.  
  44. Btw, it still builds OK on Slackware 9.0.0.
  45.  
  46. - Frank